function senior(senior){
	try{
		senior=senior.replace(/\r\n/g,"<br>").replace(/\n/g,"<br>");  
        
		senior = JSON.parse(senior)
		var gg = senior.RptManagerList
		var html = '' 
			if(gg.length>0){
				for(var i=0;i<gg.length;i++){
					html += "<tr><td>"+gg[i].xm+"</td><td>"+gg[i].xb+"</td><td>"+gg[i].nl+"</td>"
					+"<td>"+gg[i].xl+"</td><td>"+gg[i].zw+"</td><td>"+gg[i].rzsj+"</td></tr>"
				}
			}else{
				html +="<tr><td colspan='6' rowspan='2' style='text-align:center;vertical-align:middle;'><font style='font-size:20px;'>公司高管暂无数据</font></td></tr>"
			}
	}catch(e){
		html +="<tr><td colspan='6' rowspan='2' style='text-align:center;vertical-align:middle;'><font style='font-size:20px;'>公司高管暂无数据</font></td></tr>"
	}
	$("#senior").html(html)
}
function sdgd(sdgd){
	sdgd = JSON.parse(sdgd)
	var html = '' 
	if(sdgd.length >0){
		for(var i=0;i<sdgd.length;i++){
			html += "<tr><td>"+sdgd[i].mc+"</td><td>"+sdgd[i].gdmc+"</td>"
			+"<td>"+sdgd[i].gflx+"</td><td>"+sdgd[i].cgs+"</td><td>"+sdgd[i].zltgbcgbl+"</td><td>"+sdgd[i].zj+"</td><td>"+sdgd[i].bdbl+"</td></tr>"
		}
	}else{
		html += "<tr><td colspan='7' rowspan='2' style='text-align:center;vertical-align:middle;'><font style='font-size:20px;'>十大股东暂无数据</font></td></tr>"
	}
	
	$("#sdgd").html(html)
}

function cwfx(data){
	
}
function dateToDate(date){
	var dates
	dates = date.split("/")
	var month 
	if(dates[1].length == 1){
		month = "0"+dates[1];
	}else{
		month = dates[1]
	}
	var day
	if(dates[2].indexOf(" ") == 1){
		day = "0"+dates[2].substring(0,1)
	}else{
		day = dates[2].substring(0,2)
	}
	return dates[0]+"-"+month+"-"+day


}
